package com.spring.springboot.entity;

import java.math.BigDecimal;

import javax.persistence.*;

import lombok.Data;

/**
*@author LSY
*Time: 2018年12月5日下午8:04:50
*
*
*/
@Entity
@Table(name = "user_info")
@Data
public class UserEntity extends BaseEntity {/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
    @Column(name = "UI_ID")
    private Long id;
	/**
     * 用户名称
     */
    @Column(name = "UI_USER_NAME")
    private String userName;
    /**
     * 姓名
     */
    @Column(name = "UI_NAME")
    private String name;
    /**
     * 年龄
     */
    @Column(name = "UI_AGE")
    private int age;
    /**
     * 余额
     */
    @Column(name = "UI_BALANCE")
    private BigDecimal balance;

}
